<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <script src="http://localhost:8888/src/lib/ming_mock2.4.0.js"></script>
    <title>逆地理编码(经纬度->地址)</title>
    <style>
        html,body,#container{
            height:100%;
            width:100%;
        }
    </style>
</head>
<body>
<div id="container"></div>

</body>
</html>

<script>

    app.installPlugin("http://localhost:8888/src/ming_mock_plugins/BaiduMapPlugin.js",{
        ak:"n8nNzGAxkNZVEPxpLGWCpX40g9eogtr9"
    }).then(async d=>{
        let r= await MIO.BaiduMapPluginGetLocation()
        console.log(r);
    })

</script>